package com.aos.erp.message.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@ApiModel("消息模板推送方式需要的参数")
@TableName("t_mt_pt_param")
public class MTPushTypeParam implements Serializable {

    @ApiModelProperty(value="推送参数ID",hidden=true)
    @TableId(value = "id", type = IdType.INPUT)
    private long id = 0;

    @ApiModelProperty(value="消息模板ID",hidden=true)
    @TableField("mt_id")
    private long mtId = 0;

    @ApiModelProperty(value="推送方式ID",hidden=true)
    @TableField("pt_id")
    private long ptId = 0;

    @ApiModelProperty(value="参数项ID",hidden=true)
    @TableField("mtp_id")
    private long mtpId = 0;

    @ApiModelProperty(value="参数项",hidden=true)
    @TableField("mtp_item")
    private String mtpItem;

    @ApiModelProperty(value="参数项描述", hidden = true)
    @TableField("mtp_desc")
    private String mtpDesc;
}
